package com.gupao.proxy.dbroute;

import com.gupao.proxy.dbroute.proxy.StaticOrderServiceProxy;

import java.util.Date;

public class DbRouteStaticTest {
    public static void main(String[] args) {
        Order order = new Order();
        Date nowDate = new Date();
        order.setCreateTime(nowDate.getTime());

        StaticOrderServiceProxy staticProxy = new StaticOrderServiceProxy(new OrderService());
        staticProxy.createOrder(order);

    }
}
